Skip to content

Changed dynamic segment to userId #739

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 8, 2016
Merged

Changed dynamic segment to userId #739

merged 1 commit into from
Oct 8, 2016

Conversation

dharik
Copy link
Contributor

@dharik dharik commented Oct 8, 2016

:to="" and push() were using param name "userId" but the route path was using "/user/:id". This is confusing because how would params {userId:123} translate to :id?

:to="" and push() were using param name "userId" but the route path was using "/user/:id". This is confusing because how would params {userId:123} translate to :id?
@posva
Copy link
Member

posva commented Oct 8, 2016

Thanks! LGTM. Ping @fnlctrl

@fnlctrl
Copy link
Member

fnlctrl commented Oct 8, 2016

👍

@posva posva merged commit cc9d220 into vuejs:dev Oct 8, 2016
@dharik dharik deleted the patch-1 branch October 8, 2016 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants